package com.dodayum.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

@Data
@Document(indexName = "demo_class")
public class DemoEntity {
    @Id
    private String id;

    private String name;
    private String className;
    private Integer age;

}
